Skip to content

frankendancer: adopt agave v4.0 versioning#8945

Merged
anwayde merged 1 commit intofiredancer-io:mainfrom
anwayde:ande/version
Mar 18, 2026
Merged

frankendancer: adopt agave v4.0 versioning#8945
anwayde merged 1 commit intofiredancer-io:mainfrom
anwayde:ande/version

Conversation

@anwayde
Copy link
Collaborator

@anwayde anwayde commented Mar 17, 2026

$ build/native/gcc/bin/fdctl --version
0.32869.40002 (c9fe06ba446723c931d8da5d1242251547ae78ae)
$ build/native/gcc/bin/solana --version
solana-cli 0.101.0-beta.40002 (src:9b5a01a0; feat:ae5d4a9d, client:Frankendancer)

@anwayde anwayde marked this pull request as ready for review March 18, 2026 21:05
@anwayde anwayde requested a review from 0x0ece as a code owner March 18, 2026 21:05
Copilot AI review requested due to automatic review settings March 18, 2026 21:05
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Frankendancer (fdctl) version derivation to align with Agave v4 semantics, including prerelease encoding.

Changes:

  • Add a new with-agave.mk helper to parse Agave semver (including prerelease tags) from agave/Cargo.toml.
  • Encode Agave prerelease information into Frankendancer’s minor version and derive the patch version from the parsed Agave version numbers.
  • Bump the agave submodule commit.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
src/app/fdctl/with-version.mk Includes Agave parsing and updates Frankendancer minor/patch computation to reflect Agave v4 prerelease encoding.
src/app/fdctl/with-agave.mk New Make fragment that parses Agave semver/prerelease and exposes AGAVE_VERSION_* and prerelease tag variables.
agave Updates the submodule pointer to a newer Agave commit.

Comment on lines +27 to +36
# try to parse the prerelease version
SEMVER_PRERELEASE := $(word 2,$(subst -, ,$(AGAVE_VERSION)))
ifneq ($(SEMVER_PRERELEASE),)
AGAVE_PRERELEASE_STRING := $(word 1,$(subst ., ,$(SEMVER_PRERELEASE)))
AGAVE_PRERELEASE_VERSION := $(word 2,$(subst ., ,$(SEMVER_PRERELEASE)))
endif

# if this is a prerelease, update the patch and set the tag
ifneq ($(AGAVE_PRERELEASE_STRING),)
AGAVE_VERSION_PATCH := $(AGAVE_PRERELEASE_VERSION)
Comment on lines +36 to +42
AGAVE_VERSION_PATCH := $(AGAVE_PRERELEASE_VERSION)
ifeq ($(AGAVE_PRERELEASE_STRING),$(AGAVE_IDENTIFIER_RELEASE_CANDIDATE))
AGAVE_PRERELEASE_TAG := $(AGAVE_ENCODE_TAG_RELEASE_CANDIDATE)
else ifeq ($(AGAVE_PRERELEASE_STRING),$(AGAVE_IDENTIFIER_BETA))
AGAVE_PRERELEASE_TAG := $(AGAVE_ENCODE_TAG_BETA)
else ifeq ($(AGAVE_PRERELEASE_STRING),$(AGAVE_IDENTIFIER_ALPHA))
AGAVE_PRERELEASE_TAG := $(AGAVE_ENCODE_TAG_ALPHA)
@anwayde anwayde merged commit 877b5f7 into firedancer-io:main Mar 18, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants